/*
 * @Author: 余文童
 * @Date: 2020-08-10 10:53:10
 * @LastEditTime: 2020-08-13 01:38:45
 * @LastEditors: 余文童
 * @Description: 用户服务层接口类
 * @FilePath: \BackEnd\saleflower\src\main\java\com\wangwang\saleflower\service\UserService.java
 */
package com.wangwang.saleflower.service;

import com.wangwang.saleflower.entity.User;

import java.util.List;

public interface UserService {

    List<User> selectUserList();

    User getUserByName(String userName);

    void saveUser(User user);

    boolean isUserExist(String userName);

    void updateUserInfo(User newUser);

    void removeUserByName(String name);
}
